<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>

        //let声明的变量不会绑定到window对象上，而var声明的变量会绑定到window对象上
        var a = 'Yes OK'
        let abc = 99;
        console.log(window);
    </script>
</head>
<body>
    
</body>
</html>